package com.leoman.floatwin.service;

import com.leoman.adsindex.entity.AdsIndex;
import com.leoman.common.service.GenericManager;
import com.leoman.floatwin.entity.FloatWin;

import java.util.List;

/**
 * Created by 蔡琦 on 2016/7/6 0006.
 *
 */
public interface FloatWinService extends GenericManager<FloatWin>{

    // 通过id查询对应浮窗广告
    FloatWin getById(Long id);

    // 查询视频、小说、漫画的浮窗广告
    List<FloatWin> findByTypeAndCategoryId(Integer type, Long categoryId);
}
